//
//  CaretakerSettingsController.m
//  Seizure
//
//
//  Caretaker Settings

#import <UIKit/UIKit.h>

@interface CaretakerSettingsController : UIViewController
{
    IBOutlet UITextField *inputField;
    
    IBOutlet UITextView *addPatientInstruction;
    IBOutlet UITextView *acceptPatientInstruction;
    
    IBOutlet UILabel *patientStatusLabel;
    IBOutlet UILabel *patientNameLabel;
    IBOutlet UILabel *patientEmailLabel;
    
    IBOutlet UIButton *addPatientButton;
    IBOutlet UIButton *confirmPatientButton;
}

@property (nonatomic, retain) IBOutlet UITextField *inputField;

@property (nonatomic, retain) IBOutlet UITextView *addPatientInstruction;
@property (nonatomic, retain) IBOutlet UITextView *acceptPatientInstruction;

@property (nonatomic, retain) IBOutlet UILabel *patientStatusLabel;
@property (nonatomic, retain) IBOutlet UILabel *patientNameLabel;
@property (nonatomic, retain) IBOutlet UILabel *patientEmailLabel;

@property (nonatomic, retain) NSString *currentPatientEmail;
@property (nonatomic) BOOL hasAssociatedPatient;

@property (nonatomic, retain) IBOutlet UIButton *addPatientButton;
@property (nonatomic, retain) IBOutlet UIButton *confirmPatientButton;


- (void)update;
- (IBAction) backgroundTouched: (id) sender;
- (IBAction)patientRequest:(id)sender;
- (IBAction)patientConfirm:(id)sender;

- (void)updatePatientConnectionLabel:(NSString *)newPatientMonitoredEmail name:(NSString *)newPatientMonitoredName;
- (void)updateButtonAndTextField;

@end
